docs: Mention that tooltip_column text should be escaped in GtkIconView
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 14 Nov 2010 11:39:48 +0000 (12:39 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 14 Nov 2010 11:39:48 +0000 (12:39 +0100)
gtk/gtkiconview.c

index 6345682daaf64be781322369e48036c47ae360a2..c080bba0481752eadd40691702bb820914d608dd 100644 (file)
@@ -5227,6 +5227,9 @@ gtk_icon_view_set_tooltip_query_cb (GtkWidget  *widget,
  * When enabled, #GtkWidget::has-tooltip will be set to %TRUE and
  * @icon_view will connect a #GtkWidget::query-tooltip signal handler.
  *
+ * Note that the signal handler sets the text with gtk_tooltip_set_markup(),
+ * so &amp;, &lt;, etc have to be escaped in the text.
+ *
  * Since: 2.12
  */
 void